package com.exhr.biz.impl;

import java.util.List;

import com.exhr.biz.EmployeeBiz;
import com.exhr.dao.EmployeeDao;
import com.exhr.pojo.Temployee;
import com.exhr.util.impl.Page;

public class EmployeeBizImpl implements EmployeeBiz{
	private EmployeeDao empdao;
	
	public void addEmp(Temployee emp){
		empdao.add(emp);
	}
	
	public List<Temployee> searchEmpForPage(Temployee emp,Page page){
		return 	empdao.searchEmpForPage(emp, page);
	}

	public void setEmpdao(EmployeeDao empdao) {
		this.empdao = empdao;
	}
}
